package com.st.service.impl;

import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.st.dao.GoodsMapper;
import com.st.pojo.Goods;
import com.st.service.GoodsService;
@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements GoodsService{

    @Resource
    private GoodsMapper goodsMapper;
    @Override
    public int batchInsert(List<Goods> list) {
        return baseMapper.batchInsert(list);
    }

    @Override
    public List<String> getTwoGoodsImgByGoodsDetailId(Integer id) {
        return goodsMapper.getTwoGoodsImgByGoodsDetailId(id);
    }
}
